package com.gulimall.product.conf;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author coder_ccy
 * @date 2022/3/31 14:16
 */
@ConfigurationProperties(prefix = "gulimall.threadpool")
@Component
@Data
public class ThreadPoolConfig {


    private Integer coreSize;
    private Integer maxSize;
    private Integer keepAliveTime;
    private Integer queueLength;
}
